<template>
  <div>
  <mt-header title="标题过长会隐藏后面的内容啊哈哈哈哈">
  <router-link to="/" slot="left">
    <mt-button icon="back">返回</mt-button>
  </router-link>
  <router-link to="/login" slot="right">
    <mt-button>登录</mt-button>
  </router-link>
</mt-header>
  <div class="page-survey">
    <mt-swipe :auto="0" :show-indicators="false">
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>
        <mt-swipe-item>
            <div class="content">
                <div class="question-box" style="background-image:url('http://temp.sspai.com/2016-12-22-bg-10-1.png')">
                    <div class="title clearfix">
                         <div class="left"> <span>2016兴趣调查</span></div>
                         <div class="right">
                            <span class="question-current">1</span> / <span class="question-total">15</span>题
                         </div>

                    </div>
                    <div class="question-content">
                        你的问题是什么？
                    </div>
                </div>
                <div class="answer-box">
                    <ol class="answer type-all">
                        <li>把工程师叫在一起，使用静态结构分析法测试</li>

                        <li>让整天写公众号的 CTO 用基本路径测试法测试</li>

                        <li>让程序员本人亲自冲出去，看他无人车会不会撞他</li>

                        <li>让 QA 使用逻辑覆盖法测试</li>
                    </ol>
                </div>
                <div class="confirm" data-score="0">确定</div>
            </div>
        </mt-swipe-item>

        <mt-swipe-item>2</mt-swipe-item>
        <mt-swipe-item>3</mt-swipe-item>
    </mt-swipe>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        articles: [],
        selected:'外卖',
        wrapperHeight: 0,
      };
    },
    components: { },
    created() {
    },
    mounted() {
        // this.$http.jsonp('https://api.douban.com/v2/movie/top250?count=30', {}, {
        //     headers: {
        //     },
        //     emulateJSON: true
        // }).then(function(response) {
        //     // 这里是处理正确的回调
        //     this.articles = response.data.subjects
        //     // this.articles = response.data["subjects"] 也可以
        // }, function(response) {
        //     // 这里是处理错误的回调
        //     console.log(response)
        // });
    },
    methods:{
      login() {
        alert(11);
      }
    }
  };
</script>

<style>
.page-survey {
    height: 518px;
    margin-top: 50px;
}
.tips {
    width:100%;
    height:30px;
}

.content {
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    /* padding: 20px; */
}
.question-box {
    padding: 20px;
    border-radius: 8px 8px 0 0;
    background: no-repeat center center;
    background-size: cover;
    font-size: 16px;
    height: 140px;
}
.clearfix {
    zoom: 1;
}
.clearfix:after {
    content: "";
    height: 0;
    visibility: hidden;
    display: block;
    clear: both;
}

.question-content {
    color: #fff;
    margin-top: 20px;
    line-height: 1.8;
}

.left {
    float: left;
    color: #f13f50;
    padding-left: 5px;
    border-left: 4px solid currentColor;
}

.right {
    float: right;
    color: #7b7e8b;
}

.question-current {
    color: #fff;
}

.answer-box {
    margin-top: 20px;
}

.answer-box {
    margin-top: 20px;
    padding: 0 10px;
}

.answer.type-all {
    background-image: -webkit-linear-gradient(top,#d9d9d9,#d9d9d9 50%,transparent 0);
    background-image: linear-gradient(180deg,#d9d9d9,#d9d9d9 50%,transparent 0);
    background-size: 120% 1px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-origin: content-box;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1;
    min-height: inherit;
    overflow: hidden;
    padding: 0 10px;
    width: 100%;
}

.answer.type-all li {
    padding:10px;
}

.answer.type-all li span {
    vertical-align: middle;
    display: inline-block;
    margin-top: -3px;
}

.confirm {
    color: #f13f50;
    font-size: 24px;
    margin: 20px 0;
    text-align: center;
}

</style>
